<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<script type="text/javascript" src="<%=basePath%>js/jquery-1.3.1.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>js/jquery.validate.js"></script>
		<script type="text/javascript" charset="UTF-8"
			src="<%=basePath%>js/messages_cn.js"></script>
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>css/denglu.css" />
		<link rel="stylesheet" href="<%=basePath%>css/jquery.validate.css"/>
		<script type="text/javascript">
			$(function(){
				$("#loginForm").validate({
							rules:{
								"user.userName":{
									required:true
								},
								"user.password":{
									required:true
								}
							}
						});
					}) ;
		</script>
		<title>航空票务系统-登陆</title>

		<style type="text/css">
</style>
	</head>
	<div class="box">
		<jsp:include page="top.jsp"></jsp:include>
		<!--内容部分-->
		<div class="main">
		<div id="main1"></div>
			<div id="main2">
				<div id="main1-1">
					<div id="main1-1-1">用户登陆</div>
				</div>
				<form action="UserAction!login " method="post" name="loginForm" id="loginForm">
				<div>
					<div>
						<div class="main2wenzi">用户名：</div>
						<div class="main2wenben"><input name="user.userName" id="user_userName" type="text" /></div>
					</div>
					<div>
						<div class="main2wenzi">密码：</div>
						<div class="main2wenben"><input name="user.password" id="user_password" type="password" /></div>
					</div>
				</div>
				<div id="dengluanniu">
				
				<input type="image" src="images/denglu.gif" />&nbsp;&nbsp;
				<a href="<%=basePath %>jsp/register.jsp"><img src="images/zhuce.gif" /></a></div>
				</form>
			</div>
	</div>
<!--版权-->
	
		 <div class="bottom">
    
    <table width="100%" border="0"  class="STYLE4" style="font-size: 12px" >
    <tr>
    <td><br/></td>
    </tr>
      <tr  >
        <td align="center">友情链接：<a href="http://www.google.com">Google </a>| <a href="http://cn.bing.com">Bing </a>| <a href="http://www.baidu.com">百度</a></td>
      </tr>
      <tr>
        <td align="center">邮箱地址：0100121215@live.com 联系电话：001401001</td>
      </tr>
      <tr>
        <td align="center">Copyright&copy; 2011-2013 版权所有AIRLINE.COM</td>
      </tr>
    </table>
    
     </div>
	
</div>
	</body>
</html>
